package com.koalac.ironman.net.pojo.request;

import android.content.Context;

import com.koalac.ironman.net.asynchttpclient.RequestParams;

public class SubmitOrder extends ClientProtocolBase{
    /**
     * 产品的ID(产品详情页获取)
     */
    private String productId;
    /**
     * 产品的名称(产品详情页获取)
     */
    private String productName;
    /**
     * 产品的标签(产品详情页获取)
     */
    private String productFlag;
    /**
     * 参团人数
     */
    private String number;
    /**
     * 出团日期
     */
    private String startDate;
    /**
     * 学校
     */
    private String school;
    /**
     * 班级
     */
    private String className;
    /**
     *   联系人姓名
     */
    private String contactName;
    /**
     * 联系方式
     */
    private String contactPhone;
    /**
     * email
     */
    private String email;
    /**
     *  说明
     */
    private String remark;
    /**
     * 每个人价格（分为0-30，31-40,40以上）
     */
    private String perPrice;
    /**
     *  总价
     */
    private String totalPrice;
    /**
     *    订金
     */
    private String frontMoney;
    /**
     * 支付方式
     */
    private String payWay;
    
    public SubmitOrder() {
	super(API.SUBMIT_ORDER);
    }
    
    @Override
    public RequestParams getArgus(Context context) {
	map = super.getArgus(context);
	map.put("product_id", productId);
	map.put("product_name", productName);
	map.put("product_flag", productFlag);
	
	map.put("number", number);
	map.put("start_date", startDate);
	map.put("school", school);
	
	map.put("class", className);
	map.put("contact_name", contactName);
	map.put("contact_phone", contactPhone);
	
	map.put("email", email);
	map.put("remark", remark);
	map.put("per_price", perPrice);
	
	map.put("total_price", totalPrice);
	map.put("front_money", frontMoney);
	map.put("pay_way", payWay);
	return map;
    }
    
    
    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getProductFlag() {
        return productFlag;
    }

    public void setProductFlag(String productFlag) {
        this.productFlag = productFlag;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getStartDate() {
        return startDate;
    }

    public void setStartDate(String startDate) {
        this.startDate = startDate;
    }

    public String getSchool() {
        return school;
    }

    public void setSchool(String school) {
        this.school = school;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getContactName() {
        return contactName;
    }

    public void setContactName(String contactName) {
        this.contactName = contactName;
    }

    public String getContactPhone() {
        return contactPhone;
    }

    public void setContactPhone(String contactPhone) {
        this.contactPhone = contactPhone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getPerPrice() {
        return perPrice;
    }

    public void setPerPrice(String perPrice) {
        this.perPrice = perPrice;
    }

    public String getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(String totalPrice) {
        this.totalPrice = totalPrice;
    }

    public String getFrontMoney() {
        return frontMoney;
    }

    public void setFrontMoney(String frontMoney) {
        this.frontMoney = frontMoney;
    }

    public String getPayWay() {
        return payWay;
    }

    public void setPayWay(String payWay) {
        this.payWay = payWay;
    }

}
